package org.training.person.mason.client.forms;

import java.io.Serializable;
import java.util.Date;

public class UserInfoForm implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -8365233513874398523L;

	private String UserInfoId;

	private String UserName;

	private String UserPass;

	private String Name;

	private Date UserBirth;

	private byte[] UserPhoto;

	/**
	 * The Default Constructor of UserInfo;
	 */
	public UserInfoForm() {
	}

	/**
	 * @param userName
	 * @param userPass
	 * @param name
	 * @param userBirth
	 */
	public UserInfoForm(String userName, String userPass, String name,
			Date userBirth) {
		super();
		UserName = userName;
		UserPass = userPass;
		Name = name;
		UserBirth = userBirth;
	}

	/**
	 * @return the userName
	 */
	public String getUserName() {
		return UserName;
	}

	/**
	 * @param userName
	 *            the userName to set
	 */
	public void setUserName(String userName) {
		UserName = userName;
	}

	/**
	 * @return the userPass
	 */
	public String getUserPass() {
		return UserPass;
	}

	/**
	 * @param userPass
	 *            the userPass to set
	 */
	public void setUserPass(String userPass) {
		UserPass = userPass;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return Name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		Name = name;
	}

	/**
	 * @return the userBirth
	 */
	public Date getUserBirth() {
		return UserBirth;
	}

	/**
	 * @param userBirth
	 *            the userBirth to set
	 */
	public void setUserBirth(Date userBirth) {
		UserBirth = userBirth;
	}

	/**
	 * @return the userPhoto
	 */
	public byte[] getUserPhoto() {
		return UserPhoto;
	}

	/**
	 * @param userPhoto
	 *            the userPhoto to set
	 */
	public void setUserPhoto(byte[] userPhoto) {
		UserPhoto = userPhoto;
	}

	public void setUserInfoId(String userInfoId) {
		UserInfoId = userInfoId;
	}

	public String getUserInfoId() {
		return UserInfoId;
	}

}
